package com.xie.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@TableName("bed")
@ApiModel(description = "病床")
public class Bed {
    @TableId(value = "bed_id",type = IdType.AUTO)
    @ApiModelProperty(value = "病床id")
    private Integer bedId;
    @TableField("bed_no")
    @ApiModelProperty(value = "病床号")
    private String bedNo;
    @TableField("bed_roomId")
    @ApiModelProperty(value = "所在房间号")
    private String bedRoomId;
    @TableField("bed_judge")
    @ApiModelProperty(value = "病床状态")
    private String bedJudge;

    public Bed() {
    }

    public Bed(Integer bedId, String bedNo, String bedRoomId, String bedJudge) {
        this.bedId = bedId;
        this.bedNo = bedNo;
        this.bedRoomId = bedRoomId;
        this.bedJudge = bedJudge;
    }


    public Bed(Integer bedId, String bedNo, String bedRoomId, String bedJudge, Room room, Paitient paitient) {
        this.bedId = bedId;
        this.bedNo = bedNo;
        this.bedRoomId = bedRoomId;
        this.bedJudge = bedJudge;
    }

    public Integer getBedId() {
        return bedId;
    }

    public void setBedId(Integer bedId) {
        this.bedId = bedId;
    }

    public String getBedNo() {
        return bedNo;
    }

    public void setBedNo(String bedNo) {
        this.bedNo = bedNo;
    }

    public String getBedRoomId() {
        return bedRoomId;
    }

    public void setBedRoomId(String bedRoomId) {
        this.bedRoomId = bedRoomId;
    }

    public String getBedJudge() {
        return bedJudge;
    }

    public void setBedJudge(String bedJudge) {
        this.bedJudge = bedJudge;
    }




    @Override
    public String toString() {
        return "Bed{" +
                "bedId=" + bedId +
                ", bedNo='" + bedNo + '\'' +
                ", bedRoomId='" + bedRoomId + '\'' +
                ", bedJudge='" + bedJudge + '\'' +
                '}';
    }
}
